﻿namespace ClassyBlog.Web.Macros
{
    using ExtensionMethods;

    [Macro]
    public class Gist
    {
        public string Render(string id)
        {
            const string Template =
                "<script src=\"http://gist.github.com/{0}.js\"></script>";

            return Template.Interpolate(id);
        }
    }
}